<?xml version="1.0" encoding="UTF-8"?>
<wicket:panel>
<form method="post" action="" wicket:id="userMngForm" class="yform" role="application">
<div class="feedbackSpan" wicket:id="feedback"></div><script type="text/javascript">if($('#feedbackPanel').html() == '') {$('#feedbackPanel').hide();}</script>
<h3 style="display:inline;"><span wicket:id="selectedDate" class="importantTitle" /></h3><span class="dimmed"></span>
<table style="width:690px;" wicket:id="userListPanel">
<thead>
	<tr>
		<th width="5%" nowrap>序号</th>
		<th width="15%" nowrap>用户名</th>
		<th width="15%" nowrap>姓名</th>
		<th width="20%" nowrap>部门</th>
		<th width="10%" nowrap>状态</th>
		<th width="35%" nowrap>操作</th>
	</tr>
</thead>
<tbody>
	<tr valign="top" wicket:id="userList">
		<td height="50" valign="middle"><div class="type-text"><label><span wicket:id="idx" /></label></div></td>
		<td>
			<div class="type-text">
				<span wicket:id="userName" />
			</div>
		</td>
		<td>
			<div class="type-text">
				<span wicket:id="xm" />
			</div>
		</td>
		<td>
			<div class="type-text">
				<span wicket:id="dept" />
			</div>
		</td>
		<td>
			<div class="type-text">
				<span wicket:id="isUsed" />
			</div>
		</td>
		<td nowrap>
			<div class="type-button">
				<input type="button" wicket:id="updateButt" value="修改" class="button" />
				<input type="button" value="角色" class="button" onclick="$($(this).next().next().next()).slideToggle('fast')"/>
				<input type="button" value="状态" class="button" onclick="$($(this).next().next().next()).slideToggle('fast')"/>
				<input type="button" value="删除" class="button" onclick="$($(this).next().next().next()).slideToggle('fast')"/>
				<div class="important" style="margin-left:50px;display:none;text-align:left;">
				<div class="type-check">
				<input type="checkbox" wicket:id="isStaff" />Everyone(默认角色)&nbsp;&nbsp;<br/>
				<input type="checkbox" wicket:id="isPM" />项目经理&nbsp;&nbsp;<br/>
				<input type="checkbox" wicket:id="isManager" />部门/团队管理员&nbsp;&nbsp;<br/>
				<input type="checkbox" wicket:id="isAdmin" />系统管理员&nbsp;&nbsp;
				</div>
				<a href="javascript:void(0);" onclick="$($(this).parent()).slideToggle('fast')">取消</a>
				</div>
				<div class="important" style="margin-left:50px;display:none;">
				<a wicket:id="setValidLink">设为有效</a>&nbsp;&nbsp;&nbsp;
				<a wicket:id="setInvalidLink">设为无效</a>&nbsp;&nbsp;&nbsp;
				<a href="javascript:void(0);" onclick="$($(this).parent()).slideToggle('fast')">取消</a>
				</div>
				<div class="important" style="margin-left:150px;display:none;">
				<a wicket:id="delLink">确定删除?</a>&nbsp;&nbsp;&nbsp;
				<a href="javascript:void(0);" onclick="$($(this).parent()).slideToggle('fast')">取消</a>
				</div>
           	</div>
		</td>
	</tr>
</tbody>
</table>
</form>
</wicket:panel>